package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.SysDictData;
import com.qidianit.mes.pojo.pro.WorkflowProcess;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface WorkflowProcessMapper {
    ArrayList<WorkflowProcess> selectByWorkflowId(Long workflowId);
    SysDictData selectDictById(Long id);


    int insertWorkflowProcess(WorkflowProcess workflowProcess);
    WorkflowProcess selectByProcessId(Long processId);
    WorkflowProcess selectById(Long id);
    int updateById(WorkflowProcess workflowProcess);
    int deleteById(Long id);
    int batchDelete(@Param("ids") Long[] ids);



    Long[] selectProcessIdByWorkflowId(Long workflowId);

}
